Rearranged PAINT_RedrawWindow() so that it first recursively updates