Continued work on the Plugin-System.

Added events to make registration of new tools, effects, and menu-items
possible.