More work on PathsToGCode