Code Cleanup

Tried to make code function commenting and documentation consistent across all
modules.  This doesn't mean all functions or methods are documented, just that
all are done so the same way.

Also, made several code name modifications for consistency purposes and, within
modules, changed function or method names to disambiguate their actual purpose.