Missed a few API functions entirely.
lo_fix_plugin_lists is now more thorough.

Also writes changes to disk.