Fix bugs
Add some debug info to test Desuwa's theory
Merge branch 'animudbg' of github.com:calzoneman/sync into animudbg