Settings are now correctly loaded and default values are set correctly.