Small improvements in passing parameters!
fixed thread destroying
Merge branch 'jochen'

Conflicts:
	logtoparent.cpp