added atkinthreaded... works, but very slow (because use of mutexes)
added atkinthreaded... works, but very slow (because use of mutexes)