Refactors the Twingler plugin to use Annotator's classes and native event bindings.