Added logging; improved error messages; handled <Enter> in search box in
IE