Game state is now saved when program closes.