Changed output format for stats, removed debug code