Significant fixes to the knowledge base building process. Many MongoDB fixes, although none which really resolve the problem (whole disk encryption, probably), and some memory management in annotation which really needs proper encapsulation.