I just tested and sending M907 doesn't seem to do anything
M907
Warning: M907 command is not supported
M907 is used in Marlin for setting motor current. (RepRap uses M906).
It's still odd that those gcodes are coming up at all if you're set to reprap flavour.