If line 78 is returning an object, KiXtart will try and display it. As it cannot you will get an error.

If you don't want the object then assign it to a junk variable:
 Code:
$DISCARD=$objSignatureEntries.Add("AD Signature", $objSelection)