Add avatar support to the chat window, minor tweaks to the chat layout