Added strlen to make sure empty messages aren't printed (why do these even show up?)