Internal events added
Improve EventManager
Remove unused stuff
New debugging-stuff