use table.concat instead of explicitly join lines
center the image