Changes to make sdl-opengl-minimal a better starting point for user's own programs

The most critical one is probably the one that initializes GLEW at the right point to avoid segfaults when you use some OpenGL functions.  Others are more cosmetic but worth including, I think.