Track active windows on OSX