Image counter can be set to zero when unlinking images, whilst they can be in use for texture. This is a temporary solution to prevent errors! (Now image unlinking doesn't set zero users anymore)