This updated patch addresses all the comments made before and also handles the updated Z packet format with the "conditions" marker. I've added a function that parses (a generic set of) options passed through the Z packets. Luis