Hi Andrew, Thanks for reviewing the patch I've submitted. I've already messed up two and this is my first time contributing to any open-source software. ☺
I've checked the implementation you suggested and I think it would be a great example for me to implement free-running counters, too. Best regards, Mark