misc fixes
changed plugin packaging to zip
extracted downloadLibraryToPluginPath()