Bugs in Internal Sensor Thread Class Fixed