Control systems for machine tools