Make message textbox readonly when a chat message is sent

Fixes #2.