* dict.c: patch from Gary Coady to fix a race in dict reference counting in multithreaded apps. Daniel