Changed BaseHashTable to use ReentrantReadWriteLock; has bugs