Fixed removing herds
Fixed some triggering
Added a setActiveHerdUid method to core
Remove some more peer.herd() references