PEP8 fixes, and made BaseFrame into an ABC