rearchitectured the attribute system for groups and thread counts a bit.