SC_Rwlock implementation, SC_Lwcond draft

Other small changes