Started consolidating separate vectors relating to events into an event handler class.
Consolidation revealed numerous bugs. Bugs fixed. Modified logging functions to allow for offline reconstruction of gesture recognition process. Everything works now.