Fixed tools' merge function
set optimal chunk size. implemented `onBeforeUpload` event. implemented
`onProgress` event