memory savings, deleted dumb receiver code, command array set to 50 bytes
commandlen to 50