Maxlength flag for document parser
Let the database assign the ID
Fix for NLP parser.
Add debug output to NLP parser