[Core] Clear the computed widths after toggling if was empty.

Otherwise some empty space remains to the right of the tab title after the
title changes to a shorter string.
[Snails] Prepare for structured mail model.
[Snails] Removed dbg output.
[Core] Refactored tab width infos getting into GetInfos().