Fixed a nickname bug.
WindowListener for WindowChat