Cleanup in TextFormat.ts
Cleanup in Event.ts
Cleanup, some fixes and arguments checking in EventDispatcher.ts
Merge pull request #1248 from tschneidereit/nat

Cleanup and fixes in nat branch