Add memory profiler. Remove unused word stats.