Added a beep when the send text is invalid.
Removed unwanted stack trace print.