Fixed and Thread Lock Toggle

Thread toggle fixed along with the view count errors when coming from
editpost or newpost. Must fix in instance -> newthread