Use an API hook to determine activity of the WA window. This is a more reliable and much faster method than polling the WA window state on each key hit.
Merge branch 'ShowWindow'