fixed logging of most (all?) event types and work on parser (pull).
Moved the assignment block to the top, and worked through the first three questions. Fixed a prototype issue.
Completed pull, run and ps