public void OnGUI()
        {
            if (window == null)
            {
                window = new ModelExportWindow()
                {
                    PluginVersion    = ((BepInPlugin)GetType().GetCustomAttributes(typeof(BepInPlugin), false)[0]).Version.ToString(),
                    ExportFolderPath = configFolderPath.Value,
                    ExportName       = "Maid",
                    ExportFormat     = configFormat.Value,
                    SavePostion      = configSavePosition.Value,
                    SaveTextures     = configSaveTextures.Value,
                };

                window.BrowseClicked     += BrowseForExportFolder;
                window.ApplyTPoseClicked += ApplyTPose;
                window.ExportClicked     += ExportModel;
                window.CloseClicked      += delegate(object s, EventArgs a) { SaveUserPreferences(); };
            }
            window.DrawWindow();
        }