Enter key sends command

Also when commands are sent they are cleared from the text box.