make font rendering and threading work in webkit