fixed lots of bugs with saving and loading: should all work now without any duplication issues