Added dialog when deleting paint.
Small change (cosmetic / performance)
Bug fix in the iteration over ids (was iterating over vector index, not item uids).
Methods removeCurrent*() reset uids to NULL_UID.
Bug fix: once all mappings were destroyed, current ids were not reset (removed).