Made program sleep a little between requests to make sure prev req is completed. Added some node clearing.
Removed unused code. Added Request.submit() for easier execution of requests.