The dictionary is now fixed. Time to fix the actual program.
fixed code to start at nid 1.
trimmed dictionary
added external constants for verify
debug PMSI - crashes