Fix pkgmeta paths
Adjust UnitDestroyed handler since apparently it gets spammed and will end up causing a stack overflow..