Mod tools enhanced: changed to conditionally create the header tab menu before adding the threshold button