rudimentary cursor working. Need to fix for backspace with newlines