Bug 4581: move tracking appart so it doesn't require the window to have focus
1 file changed