add total hashrate global and per rig, fix error when cgminer does not return a version