use `getComputedStyle()` to get element styles

`document.styleSheets` does not work in all browsers,
as `cssRules` can be empty
use `XMLSerializer()` for more accurate svg string
better scaling
print to console when there is an error creating the image
remove link after adding it to page for downloading
single quotes everywhere. keeping things consistent.