Trying to stop calling the search method so much because the code spends the most time there according to chrome's profiler.  Now the game should run better on lower hardware.