Fixes for the previous oogl refactoring.
Cleaned up the examples.
Removed call to swap_buffers.
Use on_initialize and on_resize instead of doing stuff on each draw