Segfault fixes

- Removes memory leak in MenuHUDLog
- Removes the StatBlock pointer from the Event class
 - Fixes #122
 - Fixes #1197 
- Adds a bounds check to `PowerManager::activate()` to prevent potential segfault.