Fixed some bugs with help

Previously, certain arguments to `.help` could cause a crash.  These
have been fixed.

Additionally, help has been refactored out of `execCommand` and into
it's own function.