Break up main window into many subwindows