Remove the need for OpenGL 4 and lots of small bugfixes
- Fix blend functions not being reverted.
- Fix GL_ELEMENT_ARRAY_BUFFER not being reverted.
- Fix keyboard event state handling.
- Add the ability of disabling key combos.
- Now works on OpenGL 3.