- fixed length calculation in TLogger
- auto initialize eventmanager if not done
- adjusted calls according xmlhelper changes