Fixed the dumb error where newlines and # signs were making the
graph generation break.