Monitor the frontmost app