Out of curiosity, are the M126 / M127 commands in the generated gcode? Yes: then GPX ain't turning them into the proper x3g which, in turn, suggests that GPX is being told the wrong machine type. No: well, that's special since you did elsewhere indicate that you had "M126 S$" (or similar) ...