Fixed cursor taking up text space.
Added cursor movement,