Add displaying of when certain patterns are detected.