[STORM-366] Add color span to most recent error and fix ui templates for security.

If this is an integer why is in an empty string here?