Support for event filters, patched xpcall