Added the front end for editing threads