Item9693: don't hardcode colors or borders etc

... unless required for functional reasons
Item12965: fix deadlog on collision

bail out of updating cache data if there is another thread already
doing the same