Modifying the timer and thread files.