Refactoring of the actions processing

download first, handle failures and C-c better, report clearly the status on error