private void closeROM(object sender, EventArgs e)
        {
            //TODO
            //metadata.writeMetadata();

            /*myModules.RemoveRange(0, myModules.Count);

            accessedData.RemoveRange(0, accessedData.Count);*/

            if(this.promptSaveIfChanged())
            {
                //Free all data; close all modules
                foreach(EditorModule e in myModules)
                {
                    e.Close();
                    e.Dispose();
                }
                this.reinitialize();
                this.SetDown();
            }
        }