Adds up/down arrows for REPL history; fixes #144.