r19685: Two changes inspired by problems with huge tdbs. tdbtool's list command now