cleaning up code

cleaned-up WebGl renderer
- re-ordered code to make some sense
- added lots of comments
- pre-flipped texture coordinates
added some TODO's
some smaller edits