Small code cleanup.
Add missing imports.
Bugfix: GINIDocumentTaskManager: document polling.
Bugfix: Getting extractions.