it turns out that there is an IsMagickInstantiated() function in MagickWand. Therefore, I can call that instead of manually tracking the state of genesis/terminus
Fixed bug that would prevent the module from successfully being reloaded