Implemented thread locks in blacklist, and background creation of tree
objects based on blacklist.