Fixed threads
Added more to edit and delete messages / threads, front end and tests still need updating