Nail down all the possibilities in popup.html