Added dump_swap to MREUS, better error check