Firefox improvements and style cleanup