Fix to channel check code

* Reuse int val
* allow ping interval of 0
* fix to hekc field logger (to make it MORE cpu intense (sigh))