Added all behavior for executing an EventWindow. Still needs to be tested.