Added saving through diffs.
Fixed some data loss while saving.