More descriptive print statements.
Python level fix for crash in search code.