Game state now saves when process is ended.