Started putting together demo that actually create weighted term list... got some bugs to fix.