You have to delete any vtkObjects set with the set macro

(fixes the reference count)
You can create a hook for a callback in the logic

So whenever the logic sees that the preconditions are no longer met,
it can call an abort method that cancels the bot.