add diagnostic output
Merge branch 'master' of https://github.com/ged-lab/nullgraph