Various Firefox fixes