wait correct connection
dont reset before thread start
no segfault with threads
running widget fix
Merge pull request #75 from Ashatta/master

Multithreading fixes