Renaming Globals to G (Because REASONS)
Fixed a possible bug in Grunt (rare situations)