Take command-line arguments...

... specifying the message stream filter(s).

Also, don't print NULL strings.