Player stats is now saved when he die

Now, player stats are saved when they die, and correctly restored upon
reviving.