plugin loading should use dlopen(..,RTLD_LOCAL)

from the dlopen man page:
RTLD_LOCAL: Symbols defined in this library are not made available to
resolve references in subsequently loaded libraries.