Cleanup of lexical constants for commands.
Restores print of KB and user response.
Cleanup of process_parse_tree.