added hashrate stabilizer + merged with invader changes