More work on SDL interface.
Use GL 4.0 for SDL interface.