Added Save to PNG functionality