remove redundant comment
pep8
typo
pep8
use instance of NotImplementedError
pep8 indents
yesno to BOOL