Updated SDK library with some minor fixes