add right arrow navigation to repl
various bugfixes to repl
abstract line indicator
bugfixes repl