Add simple logging

Also fix image downloader for broken links