[globe] Fix Mac dependencies so plugin can run from app bundle
[globe] Fix crashes occurring after globe is unloaded