[enh] pyflakes cleanup
[mod] docstrings, some cleanups