changes to recv main loop: recvMessage.mtype
mark's stupidity