public MainForm()
        {
            InitializeComponent();

            try
            {
                config = Config.Read("config.json");

                previewer.M12Compiler = m12Compiler;
                previewer.CharLookup = ebCharLookup;

                ImportAllStrings();
                ImportAllStringRefs();

                InitLookups();

                PopulateCollectionSelector();

                collectionSelector.SelectedIndex = 0;
                collectionSelector_SelectionChangeCommitted(null, null);
            }
            catch (Exception e)
            {
                MessageBox.Show("There was an error starting the tool." + Environment.NewLine +
                    "Reason: " + e.Message);

                badStart = true;
                this.Load += (s, ee) => this.Close();
            }
        }