Generalization of the plugin class to plugins that do not use bundles like filters and shaders.
Plus some code cleanup for all the files that were touched.