Defer text generation in n2cq to avoid crash on empty history.
Extend n2c and n2cq to not crash on empty history.
Merge pull request #4 from MarcSchmitzer/development

n2c/n2cq fixes