Maximized window state now saved to settings