Add much stricter checks on libname->path matching. Should make this usable... erple