`jQuery.fn.parentsOrSelf` fixed.
`editor.mainContainer`: fixed critical bug in it and some calls to it.
`editor.switchTo`: node.nodeValue -> node.value