small fixes to download queue and document handling

added missing filetransfer object
changed renameing of  a downloaded document to overwrite the path

added opening files in mpl (not finished)