Try to do a query-replace (M-%) with ECB activated. Even if it the ECB windows are
"toggled out", it prevents commands like "!" and "n" from going through - they are
inserted in the buffer as regular characters. I had to deactivate ECB to get
query-replace to work.
Using ECB 1.52, Emacs 21.1.