Implemented HC Reset

Hello icehawk78,

Spent some time to implement a means to set it to reset every X HC.
Code waits until GC effects end before resetting.
Logs properly.
Stayed as close to your coding style as I could.
Watch out that after the merge it uses my code branch.. (sorry, don't know how to do that properly.. noob @github)

Hope you honor the merge and share it with the world,
Bryanarby