Event Driven Snapshot #1

This code was completely changed to reflect an event driven code
structure, rather than the antiquated procedural structure. Refer to the
Notebook entry for more details.