Added better handling; fail fast for
invalid spreadsheet.
Add fields to file_import to keep additional states.
Stop refresh on failure or completion.