Don't think the javascript would be intenstive at all, class selectors are used everywhere in most every ajax script. Just write something like $('#chatbox .user_25') to select all his/her messages (note jquery syntax, but can ofcourse be adapted to any framework..) point i'm trying to make is that if you use a #chatbox (<table id="chatbox">) it will only search there for specific classes so that will take much less resources. And most of the time there aren't going to be any chat messages anyway or messages won't be deleted so none of this will be executed anyway.
Much better to send an empty response versus the 55kb sent every 10 seconds (i checked).
The issue is that there is no space between the date and "to/from"
It is:
06:29To lala
But should be
06:29 To lala
I hope you will at least fix the dialog popups that don't display properly see my earlier attachment.
And yeah doh i can just change the templates

nix that suggestion about icons on/off
About the colors, you could do default array: #00000 => #00000, then english: #00000 => Black etc, but I guess a color picker works equally fine
When I talked about the initial state I meant the messages that were posted in the chatbox when you load the page. On one, it showed all, on the other, it showed nothing. Permissions are the same as far as i can see.