run the main part of upload_to_server() that makes api calls on a different thread so that gui thread doesn't get blocked and look frozen
run the main part of upload_to_server() that makes api calls on a different thread so that gui thread doesn't get blocked and look frozen

phac-nml/irida-miseq-uploader,phac-nml/irida-miseq-uploader