Fixing a NullRef when hitting enter in the middle of a line in the REPL. Fixed an issue where the REPL wouldn't show terminating errors.