Fixes, changes

* Add lots of debug printing (why not?)
* Make it possible to limit the number of items downloaded for
  paginated requests
* Do download forks