fixed potential control lockout scenario

fixed overflow scenario in rcloop timer, moved wdt to rcloop to try
prevent user lockout. Also removed unused medfilter stuff for flow