Prevent invalid attempts to flip a tile.
Fix GameOver method and surrounding stability issues.