[FEAT] (debug) Debug mode detection by the query string parameter "debug" now also checks the top window, when the current window has no debug parameter.