improved urllib.urlencode use, update settings

Also fewer unneccessary time.sleep calls.