Catch exception when loading global settings
Merge pull request #323 from Wetmelon/master

Catch exception when loading global settings