Added grouping functionality for plugins, and improved 'run on selected' features.