Refactor now works! I was locally reinstantiating the PApplet in the subclass, and so causing anything that called it to come up null. Now fixed.