add quit command.
fix window next command.
fix command not echoing to window.