Added a method to start a new thread when running in display thread