Replaced zero timeouts for WaitForChar() with very long delays, now that