some fixes + pure client
Merge remote-tracking branch 'origin/master'