fixed an issue with uninitialized useCuda variable, added back more code for testing sgminer crash
fixed an issue with uninitialized useCuda variable, added back more code for testing sgminer crash

Signed-off-by: justin <0ce7911e6479995d6c346d6f03eb723b5135309e@ziftr.com>

ZiftrCOIN/ziftrcoin,ZiftrCOIN/ziftrcoin,ZiftrCOIN/ziftrcoin,ZiftrCOIN/ziftrcoin,ZiftrCOIN/ziftrcoin