Big event update
- Fixed bugs in core event engine
- Cleaned up some of the log traces
- Added input-based events