remove use of defineInitHook
use linked docs to manage the magnified instance, cutting out the need for initializing a new editor each time