Fixes #508.  Settings file not being loaded correctly, so window always
started maximized.
Merge pull request #509 from saintnicster/master

Fixes #508.