Fixed up some uninitialized values when saving and loading.