fixes comments
makes potentially long-running purge methods run as background tasks
updates comments to explain background task behavior