Added support for a few new gcodes; M0, M112, partial M99