Minor code tweaks, docstrings, comments, line-length, whitespace

Signed-off-by: Gray Remlin <gryrmln@gmail.com>