Added a fix for triggered events not being cancellable. (You couldn't return false to stop a .submit(), for example.)