Cleared MOST of the logging, but left minimal to ensure basic info.
Cleared most logging to relieve file size while testing.
Removed extraneous fi at line 87