Fixes to Safari options page and general cross-browser compatibility