ChatWindow: comments and code review