Improvements to STL debug allocator; fixes in kernel to allow assets to shutdown properly when no renderer (and no assets) were loaded