Fix key retrieval bug in prefix_map.
Actually run commands.
Implement command tree for io.
Fix compile warnings.
Implement help and all command stubs.