Remove unused code
Remove boring empty trailing lines from thumbnails