More refactoring of the SettingsModel. Also moved encoder reset function from MainWindow to EncoderRegistry.