Behavior obviously contains clues about the intent that stitches actions into meaningful streams, although the clues can be awfully misleading: If you see that I move from a web page to a word processing document, there's a chance the first inspired me to write something in the document, although it's also possible that I got bored reading the Web page and decided to get back to work. If I copy from the Web page and paste into the document, you have a stronger clue.
I've already wrote a comment so I hope the trackback works. I sent a email to David, because I think the log of data from such a client application would be perfect for his OS david application. What ever happened to that?