Usability improvement, focusing onto caret, proper undo stack when adding markup
This commit adds the feature to select text in the browser and then on switch select the text on the editor. It still ha its problems with recognizing text when it appears multiple times, but it's getting there