Thread editing added

I think everything I've done so far works (except for the sidebar [look
at issues]), but threre is no way to give users access to private
threads