Fixed appearance of escaped exclamation marks.
Set fixed escape sequences for arrowkeys for better compatability. Fixed bug where REPLACE was being shown durring a hit_enter prompt