Reworked the allocator to not not free any memory until all onFree callbacks are executed for the entire tree, not just for the allocator which was onFree'd
Resolved some use-after-free issues in the event code.