Fixed bug where if configState was NULL the client ASSERTed, instead just return SDBP_API_ERROR. Added mutex locks to fix MT bugs.
Fixed bug where if configState was NULL the client ASSERTed, instead just return SDBP_API_ERROR. Added mutex locks to fix MT bugs.

scalien/scaliendb,scalien/scaliendb,timoc/scaliendb,timoc/scaliendb,scalien/scaliendb,timoc/scaliendb,scalien/scaliendb,scalien/scaliendb,scalien/scaliendb,timoc/scaliendb,timoc/scaliendb,timoc/scaliendb,timoc/scaliendb,scalien/scaliendb,timoc/scaliendb,scalien/scaliendb,timoc/scaliendb