Show loading mask while uploading a file

Please review. Fixes #62.