Bugfix - image preview window not opening in Safari. Also fixes annoying popup notice.