There might be some kind of Radio Frequency Interference triggering those bogus e-stops. Check your wiring, and make sure the wires at logic-level voltage are well away from the ones running your motors and spindle. Also check your grounding - all the electrical ground wires should come together and ground in a "star" configuration, and the whole frame should also be well-grounded.