pause crawl on tab/window hide

fixes #3