Hello Steve and others,
I will try using your process, for finishing gear cutting.
About MCLR, following your schematic, I started with non connected, and produced erratic reset and non reliable operation.
MCLR pulled to Vcc with 10k fixed definitively reset and malfunction problem.
So now everything is working well, and I'm working on a box to protect electronic parts when I will use it on my mill.
For Ben, I have used a JDM programmer to dowload the code, and IC Prog software, last version.
JDM programmer schematic is available on the web and accept Pic from 8 to 40 pins.
For all readers of this forum, I wish you a Happy New Year.