Separate batch request into two functions, for reusability
Show whole threads in thread view

Instead of searching messages, we search threads.  This means threads in
your inbox will include your replies, for example.