added sdl interception too. added gl function grabbing in case I'd like to abandon glew.