Fixed flaw in rank algorithm, reverted some debug code.
Added calls to Stats.UpdateCache to the race managers.