Added multithreading to language lookup.