fmt
Mark timeline event as idle when GetForegroundWindow fails (win)

Fixes #572