     private var invokesPending:Boolean = true;
 
     /**
-     *  @private
-     */
-    private var lastDisplayState:String = StageDisplayState.NORMAL;
-
-    /**
-     *  @private
-     */
-    private var shouldShowTitleBar:Boolean;
-
-    /**
     *  @private
     */
     private var oldX:Number;

        if (nativeWindow.active)
            return enabled ? "normal" : "disabled";
        else
            return enabled ? "normalInactive" : "disabledInactive";

    }    
    

            dispatchEvent(new Event("menuChanged"));
        }

        if (titleChanged)
        {
            if (!nativeWindow.closed)
