Fix some bugs in 2D MPI initialization.

* I guess it has been a while since I tried 2D fits; the
  MPI code was thorougly not working correctly.  A range
  of things weren't being sent with the right MPI message IDs.
* Improve some error messages.