Really fix define/2,3 string comparison
Simplify stdin message parsing