Some Cleanup

Renamed some variables.
Added setWindowWidthAndCenter()
Modified webgl.html to use setWindowWidthAndCenter()