I fixed that, and a couple other bugs as well. I dont understand how that all ever got out in the first place.
There will be one problem though- I cannot cut a rectangle that is narrower than 2 times the tool diameter. We use a helical ramp into the work with a radius of .9 x toolDia, then it does a lead-in arc with a radius of the tool diameter.
The value .9*ToolDia was chosen because you cant helix into the work with a non-center cutting tool, like an insert carbide tool at much smaller radius.