added debug console on screen (add "debug" to the query string)