more thorough, Win32-specific error debug printing (temp)