Fix bug with threads and display options