lot of small fixes, typo etc. and some more logging in tasks