Continued working on saveing and loading simulations.

Not complete and not tested!