Fix hashrate bug and add stats by algorithm to index and stats pages