Make join use less memory, extract text from docs exception fix