Clean cast in EventManager.java
No concurrancy for me today