Make the external event selector configurable.

Also make drag&drop and external drop support configurable.