Added reset of timer in init
Switched to simple timer
Added ID to thread
Initialize state memory to avoid slow page fault