This code was tested successfully on May 7, 2014 at WSMR. 8 images and 8 xml files were sent from the TS-7600 through a synclink, and then through the premod filter, WSMR radio equipment, Gryphon 102 bitsync, and then back through a synclink and into the GSE. 

Received images were almost correct. 16 extra bytes were received on the GSE, this is probably due to the way that fread is implemented in receiveTM.

A lot of images were checked using cmp and verified.