Add thread visualization UI