fix enter inserting newline; fix sanitation (validator rocks)