Cleaning up the text when sending messages in the buddychat.