corrected MachineProcessPair constructor, and some minor fixes