Use a template for GsAppWidget
Trivial: remove an unused vfunc
Improve error message

The plugin loader is using the same thread function for both
installing and removing, causing confusing error messages about
installation to appear when removal fails. Improve that.