Fixed a redirect so it actually redirected out of the function.  Sorted the thread view properly.