Remove print event
Remove Print event class since it interferes with "tracing_mark_write" matching. Print event has been introduced very recently in the library and no external code base is using it yet.
Also add a sanity check on unique words to make sure that they are never a substring of another one.