fixed bug with closing GCODE file