thread fuckup logging fixed via invokelater and logging job