Improved handling of file browser errors