fix Config and better SettingsWindow