Removed fork, added basic pthread, still has issues.