added EventQueue.declare_event(..., allow_dispose) parameter.