enable reading events from STDIN
Minor STDIN tweaks.