added threaded copy and lost sample detection