Enable debugging output.
Add dependencies on layers and opengles.
Implement TextureManager.
Remove spurious debugging.
Initialize GL context with a size.