Switched from std::vector of shared pointers of events to gd::EventsList according to changes in GDCore.
Adapted according to changes in GDCore.