general: minor bug fixes

Please take an extra look at "WebSearch: cache fix" (7c58b80). This caused quite some for me during testing, but I'm not sure about the implications of changing the value.