Made the enter key send the message when pressed, also changed the message code so it does not send blank messages