WIP: seperate GUI and machine in different threads
reformat code with E124,E128,E301,E309,E501
cleanup machine start stuff