added Joe's check for mid-job ctl register modifications
throw away unneeded code in job_stats.  add joes check to see if raw data file is gz or not and use correct opener