Fix settings loading and saving.
Merge pull request #9 from rmtmckenzie/Morgan

Fix settings loading and saving.