Implemented save/restore of MainWindow geometry