Updated documentation on Debugging and Threading.