Command history (Ctrl+R) wrong cursor position bug fixed.
Unused variable removed.
The ! operator behaviour changed.

It is not included in the command history anymore.