Consider queued items before deciding to 'auto-shutdown on downloads completion'. Closes #1942.
Fix large cache support on amd64 arch pt2.