Added mutex to LRUCache::cached() for completeness.

Also added worrying note into limitCost().