minor cleanup; added gameover state