Add a locking mechanism to IsInitialBlockDownload to ensure it never goes from false to true.
Add a locking mechanism to IsInitialBlockDownload to ensure it never goes from false to true.

Infernoman/crowncoin,Crowndev/crowncoin,Crowndev/crowncoin,Infernoman/crowncoin,Infernoman/crowncoin,domob1812/crowncoin,syscoin/syscoin,Infernoman/crowncoin,syscoin/syscoin,Crowndev/crowncoin,domob1812/crowncoin,Crowndev/crowncoin,domob1812/crowncoin,syscoin/syscoin,Infernoman/crowncoin,Crowndev/crowncoin,syscoin/syscoin,syscoin/syscoin,syscoin/syscoin,domob1812/crowncoin,Infernoman/crowncoin,syscoin/syscoin,syscoin/syscoin,Crowndev/crowncoin,domob1812/crowncoin,domob1812/crowncoin