fixing minor problems when trying to autoproxy from within an internal process like the depgraphing stuff.