Add progress bar and loading throbber when uploading and removing files
Add support for canceling current upload
Update handleError convenience function
Minor code cleanup

- fix fileKey variable ambiguity
- add constants for hash field names