Clean up. Main window skeleton.