Added simple end of game check & improved logger