Added gameover checks