Saving loading is now not crashing the game. Minor changes all around the code.