restore paste functionality for command window

It keeps doing what it did in JES 4.3: paste only the first line,
and never hit ENTER.

This also revealed an apparent bug in the CommandDocumentFilter,
where a > was used instead of a >= in insertString.
Why I this didn't manifest earlier, I don't know.