Merge pull request #14 from teharrison/master

empty search message / fix stdout
suppress error message when stdout closed prematurly