rename TimerQueue::scheduleInLoop to TimerQueue::addTimerInLoop
format code to save lines.
copy s07 from s06