Removed .3 (manpage) format from docs.
Fixes to comply with Splint static analysis checks (-weak mode).
Mainly a matter of making type casts explicit. Changed cmd_dispatcher to use a switch block instead of a function pointer list to avoid null pointer/type ambiguity.