added comments in handle_keys() to distinguish clearly which command is being enacted by which character