added paste event functionality, changed delete functionality to not take the document content into account as the text is in post-delete state
added patch functionality from Neil Fraser's diff-match-path; changed spyware to use patches
removed debug outputs