Introduced plugin functionality. This required a rewriting of the way
the application name is discovered on startup.