Cleanup task queue handling
Fix handling of unicode text in summarization