Fix some threading bugs
Fix more bugs.
Fix indentation
Add some more verbosity
Add some more verbosity
Fix some more bugs