bugfix:
- init opengl by glew init for sdl2.
- check for invalid timer instance.

Signed-off-by: Kim Kulling <kim.kulling@googlemail.com>