#119: implement some feedback from #996.

This implements some feedback from #996.

@hjoliver, please review.
You've missed a couple of conversions from 'n' to 'node_string' here, which causes the graph command and GUI graph view to fail.