Add additional keymap for backspace support

Fix key bounds checking for getch() result
Fix divide by zero error msg