multiple changes
- logger for events
- tmp fix for casting from multi-inheritance
- save static state object