Implemented the event tree, LookEvent and VisionEvent. Fixes and improvements.