Fixed bug in handling of origin updates. MSD outputs properly now. Few changes that move toward MPI working.