Speed things up:
- Cache measure text calls
- Don't select pasted text immediatley after pasting it.  Especially
  since it was then just deselecting it.
gulp