It turns out that IsMagickInstantiated always returns false. Bug report submitted, reverting to manual tracking