recompiled cgminer so it returns per device stats