change command registration to be more streamlined using command_register_array.
change keyboard input to allow to backspace/delete character on current line.