lots more work trying to create a common structure for accessing plugin and MIDNAME...