Takes screenshot

at every window focus change (e.g. alt-tab event)