I have just released a new beta with all memory-related changes removed. All other updates to the beta are still in place. This should hopefully rule out any issues with non-memory-related changes.

Most of the memory-related changes were made to accomodate the custom memory allocators that I tested. A custom allocator is not currently being used, so these are not necessary at this point.

One other change relates to the memory pool that tries to avoid freeing/allocating memory uncessarily. I will add that back in the next beta after more testing.