Window focus detection
#CHANGE Modified the launcher to tell DualityApp when the window focus
changes. DualityApp raises an event in response, with a flag indicating
whether the window has focus or not.