Thanks....
It is not perfect. There are a lot of flavors of G-Code. I was thinking of adding a "dialect" option so you could get better results for particular implementations like Mach3. Things like Mach's M10P1 don't really mean anything in regular G-Code, but mean a lot to some Mach users.