Convert SVG to PNG automatically (ref #964)
Get rid of useless hazardeous code (ref #964)