File download/upload fix

"I" Variants file download/upload fix, Loop to wait for batch to end
fix, Last session close instruction added. Get_ZMR0_By_Vendor removed.