Fixed nullpointer error when statring Milling without optimise!
fixed nullpointer when hit endstop!