Now hiding uploads windows after an upload finishes or cancels.
Removed redundant comments.