Added main window geometry to saved state.