MULTI-THREAD!!!

Also improved conversion between string and double.