Remove directory portion of filename from debug log
Don't set old selection's delegate to nil because then it can't get width
Improve debug logging of token parsing.