change shd.deleteEmptyUVSets() to cleanup.deleteEmptyUVSets()