Optimize svg all

Ready to merge. +1

Supersedes #1613 #1594 #1552 and #1613.


Total size from 1155565 to 492964 bytes.
42.659% of original size.
662601 bytes saved. That's more than half an MiB