Changed output filename to include label and id as well as separate the two.
Refactored a little to isolate CSV code and added a GPSToPixel function and a GPSToLocalPixels skeletn.