Added code for the LiveStatusThread