Reset layout mess in main window, resizing works sanely now...