Another bug fix, end-of-game message

Fixed AI freezing for checkmate in one moves. Now prints message at end
of game.