suspend processing when app is not active
Determine, if our window is active. Ignore frames without any processing when it is not. suspend: actually suspend processing. CPU usage from 200%+ to <1% when windows are switched, or when screensaver is activated.