Playing with sending commands to window.