Saving and loading works. Only bug is that fields don't immediately update after loading.
minor tidying up