Re-scoped request calls

The main change is the commenting out of the global.gc() garbage
collection calls. They were using a lot of processor power. Also, the
request variable was moved down to take it out of the global scope,
this should assist with garbage collection.