Improved external binding

Fixes a problem with certain characters in event names.

Adds support for the new resync-feature in external binding search.