Large queries no longer break example script

- In the process of debugging this, also implemented a different method for pulling out words
And now I'm just having too much fun.