Core: Refactored settings handling. Now has SettingsManager