Moved lightsensor and tempsensor to own threads