added progress to gcode mode