Index: branches/reyalp-flt/core/gui_palette.c
===================================================================
--- branches/reyalp-flt/core/gui_palette.c	(revision 1467)
+++ branches/reyalp-flt/core/gui_palette.c	(revision 1474)
@@ -14,5 +14,5 @@
 void gui_module_menu_kbd_process();
 
-gui_handler GUI_MODE_PALETTE = 
+gui_handler GUI_MODE_PALETTE_MODULE = 
     /*GUI_MODE_PALETTE*/        { gui_palette_draw,     gui_palette_kbd_process,    gui_module_menu_kbd_process, 0, GUI_MODE_MAGICNUM };
 
@@ -30,5 +30,5 @@
     palette_on_select = on_select;
     gui_palette_redraw = 1;
-	gui_set_mode((unsigned int)&GUI_MODE_PALETTE);
+	gui_set_mode((unsigned int)&GUI_MODE_PALETTE_MODULE);
 }
 
@@ -151,4 +151,8 @@
      return 1;
 
+  // Try to bind to generic gui mode alias
+  if (!gui_bind_mode( GUI_MODE_PALETTE, &GUI_MODE_PALETTE_MODULE))
+	return 1;
+
   return 0;
 }
@@ -162,5 +166,9 @@
 int _module_unloader()
 {
-  GUI_MODE_PALETTE.magicnum = 0;	//sanity clean to prevent accidentaly assign/restore guimode to unloaded module 
+  //sanity clean to prevent accidentaly assign/restore guimode to unloaded module 
+  GUI_MODE_PALETTE_MODULE.magicnum = 0;
+
+  // unbind generic alias
+  gui_bind_mode( GUI_MODE_PALETTE, 0);
 
   return 0;
