Fixes #508.

 Settings file not being loaded correctly, so window always started maximized.