Detect Safari when running in web app mode. Closes #118.