optimize images, fix repeat bg, close #20