Improved the REPL: supports arrow keys, history, delete, and other common features now.