NSMapTable and NSHashMap were introduced before iOS 6, but didn't support the methods we use.

They were private.
Remove use of nested @synchronized.

TJTreeNode is no longer thread safe because of the number of needless locks it would take, clients of the class must ensure thread safety. A serial queue was added to TJImageCache for handling this.
Fix indent.