Fix crash when yahoo has no data to return

This patch series also adds a header to the file, and cleans up some bogus whitespace.