Adds preliminary lighting editing toy.
Adds improved checking for VAO in order to prevent bad GL calls.