Added error and success messages to export and a WORKING download
functionality