multitasking

fixed: logging
fixed: multithread