Added thread list feature.

Will list all threads found in the database.