Simplify csyncthread with keeping csync ctx intact
Removed silly configDir hack from thread.
Merge feature branch that introduces non terminating csync.