needs fixups; first completely passing version of StemMicrodescriptorStream and so on
a bunch of cleanups, mostly pep8
pyflakes cleanups