Fix compatibility issues with modern versions of Firefox.
Fixes issues in modern versions of Firefox, see GPII-2131 for details.
Also addresses a key typo in an IoC reference that broke the configuration option to control whether new history entries are created.