Add samples for execution flow and events.
Update to VS2010.
Add comments.