Bug: gcode wasn't handling units correctly. Also: added X and Y offset options for gcode output.