fix various minor bugs
update calibration gcodes for compatibility with new arduino firmware