Improvements to SVG debug tools: honor input order and support all colours