Some cleanup on Issue #32 and created cursor position emitter for Issue #33
Track cursor position (offset) and misc cleanup, Issue #33
Moved cursor tracking to editor.emitter(), Issue #33