- fixed setting ticks outside loop with GetTickCount()