added Utils#nested_zero_hash
added thread-safety tests
cosmetics