Text search update: index refreshed on game load, incremental search added

The index is now re-created when the model is initialized with a new game, and incremental search is now working. I have not tested performance, but it can likely be improved.