Made the chat use its own Thread to send messages, don't know if its
really using the thread.