Debugging; chasing memory corruption in win32