Added bash-like history search.
Bugfix of CTRL+C output.