Add cursor. Fix composite agent methods. Change upward to up and downward to down.
Make editor cursor begin on empty line.