pthread_wrapper functions renamed, added type check to normal run, updated readme