Fixing a Firefox bug with SVG, and making some minor tweaks to loading