CGE2: Change the Flags structure to make use of booleans