Added DHT thread to server.py, thread locks to sensor store.