To enable this feature: open the Settings menu, select Preferences..., select General, in the group Tab Bar, enable option Double click to close document.
To remove the “tiny” red x: open the Settings menu, select Preferences..., select General, in the group Tab Bar, disable option Show close button on each tab.