Bugfix: Missing 'else' can result in null pointer dereference in race
s/cg/BFG/
Merge commit '456bd96' into bfgminer-3.0.x
Merge commit 'd2ceb17' into bfgminer-3.0.x