Change tab limits and duplication to work per-window.
Version 0.24