Fixes to atlasui_http_request() that ensure curl closing and new atlasui_random_string() function that generates unique strings based on random 20-char string, random int, and use of date().