BUGFIX for GLADEVCP script of miller machine

* bypass executing MDI commands when LinuxCNC is at MODE_AUTO
* this happens in spindle detection code