use documentCategoryMap, misc fixes
use documentCategoryMap, misc fixes

numenta-archive/htmresearch,numenta-archive/htmresearch,numenta-archive/htmresearch,numenta-archive/htmresearch,numenta-archive/htmresearch,numenta-archive/htmresearch