optimize database queries for "Your Threads" page
fix DOM structure when replying to or updating comments