keep aware of inactive state not to get into trouble when screensaver changes from blank to lock
incorporate debug output of current timestamp
ignore inconsistent states, insignificant states (after sum) and report total time recorded
also some new app groups