Added some game over detection, incomplete.