registerChangeListener = callbackManager => {

  let loopCount = 0;

  $tw.wiki.addEventListener('change', changedTiddlers => {

    $tm.start('Caretaker handling changes');

    printChanges(changedTiddlers, loopCount++);
    callbackManager.refresh(changedTiddlers);

    const updates = { changedTiddlers: {} };

    for (let tRef in changedTiddlers) {

      const tObj = utils.getTiddler(tRef);

      if (tObj && tObj.isDraft()) {
        continue;
      }

      const isHandled = handleTiddlerChange(tRef, tObj, updates);

      if (isHandled) {
        updates.changedTiddlers[tRef] = changedTiddlers[tRef];
      }
    }

    dispatchUpdates(updates);

    // NOTE: changes will affect the next refresh cycle
    updateLiveViewTrigger(changedTiddlers);

    $tm.stop('Caretaker handling changes');

  });

}
Registers a change listener that will dispatch
@param callbackManager