small changes in AMF, GCode import