Fixed multiprocessing aspects of the MI code.