Disallow MPI calls from threads.
Throttle mpi recv by using irecv and sleep.
Fix a macro typo.
Guard includes which are only needed if USE_PROCESSES is defined.