Safari support! Thanks tperrin! also, bug fixes.