Improved gameover handling