add debug logging to SyncQueue

try to track down some crashes in the SyncQueue