Fix x mis-behavior
Fix X mis-behavior
Fix
EraseFwd and EraseBck fix.
Merge pull request #7 from sethyuan/x-fix

x and X fix