Main window geometry and state is saved on exit and restored on load. Uses default QSettings in python.