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