oops: Don't crash uninstalling a plugin with no config
oops: Add two small utility functions
plugins: Don't crash if an installed plugin disappears