enrich chat window

enrich chat window
and small bug fix.
ver0.02