Assorted code style and comments in search.cpp