where does the flash actually get deactivated. would it make sense to just do it here so there is only one place with this special case code? If not at least add a comment referencing the deactivation code and explaining that flash and hdr are incompatible. Same goes for the other case in the hud.