Added setVirtualKeyDown for double Escape key hit.