Added custom event support for Galleries in same sync group to control each other.
Added destroy method.