Fixed #13. Writing messages to chat is now supported.