don't leak z into global namespace
(TODO: proper module pattern for all files)
detect path that library was loaded from and adjust paths to allow other resources to be loaded (shaders, etc.)
bundle vector worker dependencies into vector worker package file, and load that directly as the worker (instead of calling importScript() to load dependencies)