Initial stab at paginating results.  Incomplete right now.