Fixes pdfdownloader so that the networking is moved off the main ui
thread.