Cleaned up general.h tabs and added logging of incoming events in EventProcessor