de-globalized warn_printbadcsum
tweaked extended boolean parsing
de-globalized warn_printbadcsum