pthread thread priority refacto: index.html