added lock around cache refresh thread worker to help with loose worker threads
added debug log output to see what threads are being killed on server termination
added tags back into images