make scanner return newlines always
add REACTIVE mode, non-interactive, interactive command line flags