Improved the way settings are loaded on startup; Added more verbose logging