- Main window now restores its geometry when the application starts.