Changed how enter is caught when sending messages. The previous way didn't work in FF.