Detect quoted words from whole text

Not just from candidate list.
Refined title reallocation method

Now includes memory of which elements have already been allocated in a
previous loop