added scratchpad search (depends on window title)