simplify tick and timer algorithm and delete idle_event timer.