Added a few inline comment hints on cleaning up the shell code.