minor fix in unittest
improved log output
mesh() moved to own thread