Reset graph completely on new run. Fixes #7.
Give graph correct class. Fixes #10.