/// <summary>
        /// this is where we issue any and all ImGui commands to be drawn
        /// </summary>
        private void LayoutGui()
        {
            if (ShowMenuBar)
            {
                DrawMainMenuBar();
            }

            if (ShowSeperateGameWindow)
            {
                DrawGameWindow();
            }

            DrawEntityInspectors();

            for (int i = _drawCommands.Count - 1; i >= 0; i--)
            {
                _drawCommands[i]();
            }

            _sceneGraphWindow.Show(ref ShowSceneGraphWindow);
            _coreWindow.Show(ref ShowCoreWindow);

            if (_spriteAtlasEditorWindow != null)
            {
                if (!_spriteAtlasEditorWindow.Show())
                {
                    _spriteAtlasEditorWindow = null;
                }
            }

            if (ShowDemoWindow)
            {
                ImGui.ShowDemoWindow(ref ShowDemoWindow);
            }

            if (ShowStyleEditor)
            {
                ImGui.Begin("Style Editor", ref ShowStyleEditor);
                ImGui.ShowStyleEditor();
                ImGui.End();
            }
        }