background thread with image changing