Cmd: remove more unused stuff and completion from cmd.c
Cmd: port /math to C++ and do not list aliases in /listCmds