MainWindow: save geometry with Qt method. Set size hint

Fix #194