Lots of token alloc/dealloc logging, and fix a bug where a scrolling through token images too fast can leak token images.