Various bugfixes, notably that it now works in Safari