make gcode viewer work rudimentarily for milling operations