Fixed ICD codes, improved doc, added some manual debugging features.