SVG updated. Minimum functionality complete. A lot of code duplication, need to fix that next.