This is an ugly hack, but it fixes the issue where the REPL will
There's also a (basically) one-line commit in here that cleans up a double [Function] message that has been hanging around since Coco.
This is an ugly hack, but it fixes the issue where the REPL will sometimes stop responding to arrow keys after an error has been thrown in user code. Turns out, this happens whenever a string (or anything other than something with Error in its prototype hierarchy) is thrown. The fix is to restore "raw mode" on the input TTY handle when this situation is detected, by the time-honored method of turning it off and on again.