Gain and CommutatorState were added to SettingsWindow