Debugged basic saving and loading.