Fixed gcode_Export, still needs reworking.

Also removed a stray print statement left over from debugging in
surfaces.py