Added ESC keep to upload textbox to cancel.
Uploading a file with a name that already exists asks the user if they want to overwrite.

This is not perfect (it doesn't check against the real filesystem but the current list in the browser which may be stale) but it is better than nothing.