Add helper fns to get event states and set colour
format-message now accepts one or multiple events