Varius fixes about logic
Merge branch 'master' into fix
Merge branch 'master' into fix
Merge branch 'master' into fix
Compiling variant of client. Add signals in all threads