Fix word-wrapping in chat (issue #49)