Broadened acceptable 'text' values
Removed unwanted string handling
Properly tears down sockets during message displays