Thread-safety fix for BlockChain.
Windows build fix.
Threading fix.