public MainWindow() { InitializeComponent(); try { modConfig = XmlFileReaderUtility.GetModsConfig(); PopulateMainModList(); SetVersion(); OpenFileSelectDialog(); } catch (Exception ex) { MessageBox.Show(ex.ToString(), "Issue starting ModSorter."); Application.Current.Shutdown(); } }