Revamped console(). It is now a REPL.