added resizing for thread name field