fix some chat bugs, clean out some junk files.

tab to focus/unfocus chat works now, as does enter.