Rather than add more state to this already overly complex class, let's have -pasteString:flags: do all the control-character cleaning instead of doing it in _pasteStringImmediately.