An addendum to #42, turns out that commit didn't work! The previous version contained a bug in which the palette attempted to register itself as listeners for its own events in the constructor, which was a no go. The code was moved to onPluginStart, where it belongs. Side note... it shouldn't even need to register for its own events, that should be part of the plugin framework...