Autolathe improvements

Tided up the code
Made it use generic datum wires, vars and sexier menu
Didnt change it gameplay-wise