Misc firefox fixes