- Enhance chat window handling.