Renamed plugin_name to plugin_id, improved console output for multiple
instances of the same plugin, and fixed some small bugs.