Added chat tab handling.

Big THX to Battlelog's code. I used it for figuring out how
to send my output to a specific chat tab:
http://www.esoui.com/downloads/info354-Battlelog.html

Refactor and tests are left.