Graphs: minor code cleanup and debug enhancement.