added stats tracker

fixed timing bug, altered how next game is determined