Use global for list of subcommands, as they are intrisically global.
Added also iterator like language (already using it before).
Fixes to commands-shell to proper guess command name, and mem leak fix.