Debugging freeze on spell check, and also memory usage