improve enum ElementFlag

more work needed to convert it into a class, same issue as with
ArticulationShowIn.