Improved pointer-based variable duplicate detection. Improved the click-to-save variable detection