added functions to redraw and unmap screen gadgets