renamed newNote to editor
removed redundant function call
fixed #1, editor is not choppy anymore.
Fixed #3

Issue was not with Sessions at all, I actually had a regex space replace because reasons.