clean up formatting a bit
make whether or not a class is closed introspectable
fix metaclass compat for closed classes