Changing to dict is a big improvement for me and makes it easier to comprehend.
All in all its pretty straight forward and i like the unload method. I would
suggest writing to disk every 5 minutes or every time a new application opens,
instead of "on zeitgeist exit" but this is just a suggestion.
However given its current state a +1 from me since my suggestions could be
Your team Zeitgeist Framework Team is subscribed to branch
Mailing list: https://launchpad.net/~zeitgeist
Post to : firstname.lastname@example.org
Unsubscribe : https://launchpad.net/~zeitgeist
More help : https://help.launchpad.net/ListHelp