moved settings from Source to MainWindow