Fixed problems with loading reports and uploading files.