do extraction in the background, closes #15