few improvments for chat window