Add futures.
A bunch of thread barrier issues fixed.