Works on MSVC again. Fixed bug with failing to reset debug allocator.