Fix MainWindowModel ctor