Changed JS timer to C timer and fixed no-blink redraw CPU draw