Switched to using Doxygen for documentation (why didn't I do this before?), added lo_fix_plugin_lists function (untested so far).