Initial text anno integration and bug fix

  - Initial version of text annotation inside an iframe using annotator.js.
    More improvements to come on this.
  - Fix app freezing on invalid URLs.