issue 6268: make changes in console appear in window.console
issue6268: use a proxy for the console object (Command Line side)