reentrant/nonreentrant mutex, vsprint, i2c fixes