1. One or more computer readable volatile or nonvolatile computer readable media storing a window analysis framework for receiving information about a group of windows and assigning the windows to groups, the task analysis framework comprising: a collecting unit for collecting window events associated with the windows; a window-event model representing the windows and using the window events to model states of the windows, where the window-event model represents different states of the windows according to different sets of the window events; and an assignment unit requesting states of the windows from the window model and assigning various of the windows to various different groups by applying the states to a first association model that models how windows in general are associated.