[rant] fix channel period, updates toward capturing event timing
[rant] more cleanup
[rant] fix bug around count wrapping