Adding more info to graph errors

Hello sho, 

Please review the following commits I made in branch 'jeremy-debugging'.

1e4196c21561836483d8a4a6fff1343cf93624e7 (2013-02-01 14:27:49 -0800)
Adding more info to graph errors

R=sho