adding gui functionality to thread.html