fix some issues with XDI, plugins, and larch + doc page for metadata viewer