Fixed syntax errors, prevented serial read from silently timing out in MTDevice.read_msg