/// <summary>
        /// Context menu for editing map info (right clicking)
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void MapEditInfo(object sender, EventArgs e)
        {
            System.Windows.Controls.MenuItem item = (System.Windows.Controls.MenuItem)sender;
            if (item == null)
            {
                return;
            }

            System.Windows.Controls.TabItem tabItem = (System.Windows.Controls.TabItem)item.Tag;
            TabItemContainer container = (TabItemContainer)tabItem.Tag;

            Board selectedBoard = container.Board;

            lock (selectedBoard.ParentControl)
            {
                InfoEditor infoEditor = new InfoEditor(selectedBoard, selectedBoard.MapInfo, multiBoard, tabItem);
                infoEditor.ShowDialog();
                if (selectedBoard.ParentControl.SelectedBoard == selectedBoard)
                {
                    selectedBoard.ParentControl.AdjustScrollBars();
                }
            }
        }
        //********************************************************************************
        // OnInspectorGUI
        //********************************************************************************
        public override void OnInspectorGUI()
        {
            Info.Reset(m_creature_control);

            if (m_creature_debug != null)
            {
                m_creature_control.Display.ShowDebug = m_creature_debug.enabled;
            }
            else
            {
                m_creature_control.Display.ShowDebug = false;
            }

            GUI.changed = false;

            EditorGUILayout.Separator();

            // COCKPIT
            DisplayEditor.Print(m_creature_control);
            InfoEditor.Print(m_creature_control);

            // WIZARD
            //EditorWizard.Print( m_creature_control );

            // ESSENTIALS
            EssentialsEditor.Print(m_creature_control);

            // STATUS
            StatusEditor.Print(m_creature_control);

            // MISSIONS
            MissionsEditor.Print(m_creature_control);

            // INTERACTION
            InteractionEditor.Print(m_creature_control);

            // ENVIRONMENT
            EnvironmentEditor.Print(m_creature_control);

            //BEHAVIOURS
            BehaviourEditor.Print(m_creature_control);

            EditorGUILayout.LabelField(" - ICECreatureControl v" + Info.Version + " - ", EditorStyles.centeredGreyMiniLabel);

            if (m_creature_control.Display.ShowDebug)
            {
                if (m_creature_debug == null)
                {
                    m_creature_debug = m_creature_control.gameObject.AddComponent <ICECreatureControlDebug>();
                }
                else if (m_creature_debug.enabled == false)
                {
                    m_creature_debug.enabled = true;
                }
            }
            else if (m_creature_debug != null)
            {
                m_creature_debug.enabled = false;

                /*
                 * DestroyImmediate( m_creature_control.GetComponent<ICECreatureControlDebug>() );
                 * EditorGUIUtility.ExitGUI();*/
            }

            MarkSceneDirty(m_creature_control);
        }