Set viewport, leave mipmaps alone for now
Handle retina
Use a struct for lights
Improve parsing performance