Remove more unnecessary code (default paramater was never used)
Rearrange gl function defitions & remove superfluous call
Rearrange gl function definition
Store shaders together with programs and release resources properly