changed R/W checks
timeouts + handle errors
new sync: using ctxgrp

Fixed sync! And tests! it all works now. and reasonably fast.
Need benchmarks.