Fixed Issue #4 with debug console.

Using frame change notification to detect whether the web inspector is
attached to the main view. Using this to control the window level.