Cleaned up the code for generating the SVG source.
Updated it to indent the XML properly.
Improved the styling of the source display box.