moved setting numFrames and dpu_ver to CDFWriter constructor
removed extra space in the T7 id
fixed the hkpg switch statement so the nonsensor values are only saved when appropriate