removes globals, standardizes input, shaders requested via CORS