Changed Download-function to use bt-threads.