Add switch to disable download of pending transaction dependencies.

This becomes necessary because the current recursive download strategy is often triggering a stack overflow on Android devices.