updated code documentation, a few cleanups, and a new dbus call (printWinInfo)