 			}
 			if (!element)
 			{
+				removeChild(m_debugInterface);
+				m_debugInterface = null;
+				m_currentDebugElement = null;
 				return;
 			}
 			debugMarkElement(element);

		protected var m_focus:UIObject;
		
		protected var m_debuggingMode : Boolean;
		protected var m_debugInterface : Sprite;
		protected var m_validatedElementsCount : int;


				}
			}
		}

		protected function startWatchingStylesheets() : void
		{
			FileMonitor.instance().removeEventListener(
