Fix NPE in PDE, affecting color picker and other Tools.

A couple of Tools in the Base menu are not rendering due to NullPointerExceptions early in the PApplet lifecycle. This patch fixes those.