max memory hack for terms
added garbage collection
working without pyquery...
typo
restructuring for termcount
obviously we need more