Proper cursor location.

fixes #111
Quote button fix.

fixes #112
Add extra space after '#' and '>' in editor.