Updated tasks and code for listing distinct threads.

TODO: Make the oldest post be listed first.