Done some code cleanup in process/machine.cpp.