modified how a lost of connection is tested as well as added to error message creation to move towards handling of all errors (its pretty good as is)