Fix pts2hmsu functiona and export it
Add CC checking to both the input (curl) threads and the main processing.  We currently just report errors, without taking any special action to deal with them.