Fixed SaveGame and LoadGame to work with PMD and FindBugs.