Some more CSRGraph tidy up.
Some re-factoring of CSRGraph.