very small optimizations

- don't reread the current screenshot
- don't create diff images, we never really used them

add timing to the search_template function