Added set/clear/check Flags for the CWMonoBehaviour class

All things that are important should use that class.