reformat code with E124,E128,E301,E309,E501
cleanup machine start stuff