bundle batches + retransfer

bundles are now sent in batches of 50 + retransfer is now only done
after all batches are sent