#99: fixed by adding closeInitialInclude() to text include handling,
added some trace logging statements
#98: added test-case and according test-data