Throw an error if the define() block hasn't closed
Delete some dead code and factor out the error handler.
Move intermediate graph results into a class
Move some of the result populators into GraphResults
Add a shepherd debugger #jankAndDrank