Do not show the overlay when the GUI is hidden.
Added (finally!) the option to replace the debug overlay with the mod overlay.