Fixed strange issue with processes adopting foreign entities as a result
of multiaddition of processs. Nat you'll have to remove my DEBUG CODE!
That's the payment for going to bed early.