Fix for not clearing the list of files in uplaoding dialog.

References #504.
Improved fix-for-duplicated-aces.xq.
Merge pull request #4 from claudius108/master

New improvements