try-except statements added to history menus. This is probably a futile effort to prevent the browser from wiping out when the menus are opened.