fix naming bug
print text stats to file
fix compatibility bug
more analysis for AB testing