Added classLocks. Fixes TE Conduits issue. Improved logging for patching issues.

Signed-off-by: Ross Allan <rallanpcl@gmail.com>