Updated random bitfields to a flags enum so that the code can actually be read. This was done via the guess-and-check-continously algorithm.