added locks to avoid data races in velocityQueue
cropped images should have a valid mean color - so I added that check