Working on changing cmd.c functions to return useful strings