John Emmas patch for Windows.