I added a brick of code for evaluating the targets of a card, and returning to the main phase decision tree either true if a target was found and assigned to the card, or false if a target was not assigned.  It currently only has a case for card effects that read 'Destroy Target Creature'.