Removed some unnecessary and erroneouus routines from LinuxCNC.cpp