Safari-specific bug fixes, makes it at least playable...