Today's Little Program simply logs all changes to the foreground
window by recording the path to the application the user switched to.
You might use this as part of a usability study to monitor what
applications users spend most of their time in.
Most of this code is just taking things we already know and snapping