Restrucutred event processing.  Still some placeholder code.