Updated DataSelect, added setFlag() + hasFlag() for plugins
Data relations slightly redesigned, added relations options