fixed LANG different than en_US and unicode strings in window titles

- i18n environment causes no logging at all
- unicode strings in windows titles trigger exceptions in export_events.py