Handling links to PGraphics, etc correctly again.

Issue 137 is still fixed, but this is a less-blunt instrument for
solving that issue.
We are separately tracking fields and methods now for linking.