some tab/space mixup cleaned
urlencode for searchterm, fixes #2