web: simplify loop_msg
web: PeriodicCallback when debug
simplify options