Added a bunch of logging.  Still finding places to add debug logging.