remove a spurious slot_getallattrs
remove debug elogs
small cleanups
compile issues