added some synch with locks, with large time slice all non mem mapped tests pass, need to solve synchro bugs