Close behaviour to emacs C-x 0

The difference is that with C-x 0 in the minibuffer, our printMsg gets
burried straight away under the minibuffer prompt so it seems unclear
what happens.

Works great in buffers though.

Fixes #642.