fixed many things

network messages are now sent and received. However the check doesn't
work - probably receiving error but further testing needing