#77: make sure that we can't drag the graph beyond its extents + minor fixes