Bag of words exibition fix; Performance optimizations;