Added multithreading to EditOptions