added basic tracking of users browser window focus