Fixed up CBlockStore, works properly now.
* Moved write to delayed function.