delete works based on deleter thread and index
Merge remote-tracking branch 'PicoDB/master'