Fix HEX smearing control -- remove double check on smearing_performed flag.
Fix random compilation warnings.