Saved mainwindow state and geometry