added software licenses to client, added error_modal, added logic to text_handler to handle server side tcp errors