add rudimentary thread editing