Saving and loading should now work, this closes #1.