Add .state.err and .state.warn strings

This supports coloring some additional event state strings in the UI.