Change flag string length to 255 for new codes.
Add new flag codes & map gX to new codes.