Added resumable downloads, handling of background tasks finishing while app is suspended