GoldWordDBI and minor pep8 fixes