add permalink to thread. closes #26