added NoBuffering on stdin
fixes #1