added chat window draft
improved chat behavior