updated chat window with more skype-like behavior