added __slots__ to all classes that are more than singletons
linked images: use relative paths and convert to forward slashes in SVG