fix possible nullpointer in addToClassPath
mark plugin as threadsafe
after update archiver rewritten extension.xml not added to archive