Small changes to PluginManager and PluginTemplate.
Added some basic plugins.