My patch has two parts. The second one corrects 3 bugs, by changing
``entry'' into ``editable''. The first part makes possible to validate a
window with <ENTER> even while entering text. I've been very conservative,
one can be less conservative by changing the 1 into 0.