1. C++ support
2. memdebug improvements