Auto-focus chat input when window is displayed.  Add event that is emitted anytime a window is displayed.  Hide window when you hit Escape in chat input.