Changes:

More message formatting,
Sleep for 3 seconds after extracting and building complete messages,
Sleep for 5 seconds after incompatible Py version/not a JAM errors,
Converted JAM reading and writing to use recommended with handle