Features/better text input

just fixed some overflow problems in the chat log and the message input area.