Swc-528: file size check, synapse client tests, and fix progress bar ui (still needs improvement)