Redesigned threads and timers.