Testing

Some upgrades and fixes (https://github.com/veox/sgminer/issues/80)