Automatically detect identical proxies and textures

Just to check vlado, that does also work with maps and proxies stored in xrefs?