Fix double backticks in docstrings as reported by @embray
Use Thread.daemon instead of Thread.setDaemon, use thread lock context manager, fix _xmlrpcEnpoints to be PEP8-compliant, removed unnecessary code, and fixed typo (changes suggested by @embray)