Removed a lot of the debug logging