Do not launch Shutdown in a new thread in case we are running the UI.
Do not launch Shutdown in a new thread in case we are running the UI.

This leads to the bitcoin core being shut down while the UI is accessing it, and generally results in a segmentation fault or crash. In case it is desirable to make it possible to shutdown the GUI from its RPC server, we'll need to implement a signal for it. For the mean time, this is a safe stopgap.

syscoin/syscoin,domob1812/crowncoin,dobbscoin/dobbscoin-source,syscoin/syscoin,domob1812/crowncoin,dobbscoin/dobbscoin-source,Infernoman/crowncoin,Earlz/dobbscoin-source,Infernoman/crowncoin,Infernoman/crowncoin,syscoin/syscoin,wiggi/fairbrix-0.6.3,wiggi/fairbrix-0.6.3,Infernoman/crowncoin,Earlz/dobbscoin-source,Crowndev/crowncoin,domob1812/crowncoin,Crowndev/crowncoin,Earlz/dobbscoin-source,domob1812/crowncoin,syscoin/syscoin,dobbscoin/dobbscoin-source,syscoin/syscoin,syscoin/syscoin,Infernoman/crowncoin,dobbscoin/dobbscoin-source,Crowndev/crowncoin,Earlz/dobbscoin-source,wiggi/fairbrix-0.6.3,Crowndev/crowncoin,Earlz/dobbscoin-source,Crowndev/crowncoin,syscoin/syscoin,wiggi/fairbrix-0.6.3,Infernoman/crowncoin,domob1812/crowncoin,dobbscoin/dobbscoin-source,Crowndev/crowncoin,syscoin/syscoin,wiggi/fairbrix-0.6.3,Earlz/dobbscoin-source,domob1812/crowncoin,dobbscoin/dobbscoin-source