Cleaned up EventManager. Refactored stuff.