protected override void OnDisposePlugin()
 {
     base.OnDisposePlugin();
     GuiCore.Shutdown();
     GuiCore = null;
 }
 protected override void InitPlugin()
 {
     GuiCore = GuiCore ?? new GuiCore();
     GuiCore.Initialize();
     base.InitPlugin();
 }