Plugins updates

This has my updated plugin code, which removes the need for yapsy and simplifies the plugin API a bit.