Add guard against invalid lifeline indexes
Fix documentation indentation
Add specs for full support of SVG color codes