Firefox fixes, other tweaks