fixed some logic problems with the endgame state. Also made output to the view specific to the end of a round or the end of a game