Support upload-from-url
Fix bug with removing a single item from history