added some messaging and table cropping, plus file download