event removal 4.4 (rebased onto dev_5_0)



This is the same as gh-1951 but rebased onto dev_5_0.

----

Minor string stripping. Previously checked by @manics and @sbesson.