add helpful messages for when REPL is dead