Updated to add better debugging messages in thread.  Modified data objects to use DataSerializer class.