refactoring:
- all opengl-specific render command enums have now the postfix Cmd.
- all structs with render command data are similar to the callback.

bugfix:
- fix several memory leaks.

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