-- Some minor adjustments to the new svg factory.
-- Specifically I changed it so that text elements are not exported to svg if they do not have any text.