Added remember main window size setting