Ignore processing mouse events when window is activated with a mouse click until mouse button is released.
See: Add option to ignore acrtion when making window active.
Handle loss of audio output device gracefully.
See: Direct Sound Error