Merge pull request #2422 from jdf/master

Permit Mode developers to run their Modes in Eclipse (or however they like) during development.
Fix NPE in PDE, affecting color picker and other Tools.