cd297653fa
Browser tabs took the lowest free slot, so an id was reused once its tab closed. That is only safe while every store keyed by the id is wiped on close — true today, but a discipline rather than a guarantee, and stale state would resurface under an unrelated tab the day it lapses. Mint like a terminal does instead: no id is ever handed out twice.