Topic/debugging

Some more log statements to help diagnose weirdness