added text wrapping to chat text box