Commented out stats and graphviz api calls. Internal debugging only