Focus message input when chat window is opened.
Tab stops for chat widget.
Removed some old code.