More changes to various files for new flags
Also adds to_string and from_string methods to the bitset template