Added backend for text events, removed test listeners
Fixed merge conflict
Connected frontend to backend
Moved document event handling to a thread to prevent ide from freezing. Fixed a bug with paste. To do: paste whitespace fix