stream support added. repl updated to display waiting prompt.