added cursor movement and selection mode (visual like) and other small thingies