Implement macro for setting up command handler functions.
Removed several vestigial externs at top. Two more related to moveq to work out.
Fixing declaration of cmdEcho